/**
 * 该模块用于封装全局组件
 */
import TypeNav from '@/components/TypeNav'
import SphPagination from '@/components/Pagination'

const arr = [TypeNav, SphPagination]

const plugins = {
  install (vue) {
    arr.forEach(item => {
      vue.component(item.name, item)
    })
  }
}
export default plugins
